﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 数据备份
    /// </summary>
    [Serializable]
    public class DataBackDto
    {
        public Int64 Id { get; set; }
        [Required(ErrorMessage = "{0}不能为空!")]
        [Display(Name = "备份类型")]
        public int BackType { get; set; }
        [Required(ErrorMessage = "{0}不能为空!")]
        [Display(Name = "备份路径")]
        public string BackPath { get; set; }
        [Required(ErrorMessage = "{0}不能为空!")]
        [Display(Name = "备份时间")]
        public string BackTime { get; set; }
        [Display(Name = "备份份数")]
        public int BackCount { get; set; }
        [Required(ErrorMessage = "{0}不能为空!")]
        [Display(Name = "备份状态")]
        public byte OperateState { get; set; }
    }
}
